package com.wjl.mianshiti.constant;

public interface RedisConstant {
    String USER_SING_IN_PREFIX = "user:singin:";

    /**
     *  获取用户签到记录
     * @param year
     * @param userId
     * @return
     */
    static  String getUserSignInRedisKey(int year,long userId){
        return USER_SING_IN_PREFIX + year + ":" + userId;
    }
}
